Skip to content

Add BESS dispatch options and export - #721

Open
lixiangk1 wants to merge 52 commits into
masterfrom
heuristic-dispatch-mpc
Open

Add BESS dispatch options and export#721
lixiangk1 wants to merge 52 commits into
masterfrom
heuristic-dispatch-mpc

Conversation

@lixiangk1

@lixiangk1 lixiangk1 commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Please check if the PR fulfills these requirements

  • CHANGELOG.md is updated
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Any new Django model inputs have also been added to job/test/posts/all_inputs_test.json

What kind of change does this PR introduce?

(Bug fix, feature, docs update, ...)

What is the current behavior?

(You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change?

(What changes might users need to make in their application due to this PR?)

Other information:

Things to test here / in REopt.jl:

  • Net metering
  • Net billing
  • Net metering and net billing combined
  • Multiple/probabilistic outage inputs with and without min_resil_timesteps
  • Scenarios that we think could return feasible on first run and infeasible on last (after MPC)
  • Test what happens with multiple PVs and add a warning or error message

@lixiangk1
lixiangk1 requested a review from adfarth June 23, 2026 20:37
Comment thread julia_src/http.jl
Comment thread julia_src/http.jl Outdated
Comment thread julia_src/http.jl Outdated
Comment thread julia_src/mpc.jl Outdated
Comment thread julia_src/mpc.jl Outdated
Comment thread julia_src/mpc.jl Outdated
Comment thread julia_src/mpc.jl
Comment thread julia_src/mpc.jl Outdated
Comment thread julia_src/mpc.jl Outdated
Comment thread julia_src/mpc.jl Outdated
Comment thread julia_src/mpc.jl Outdated
Comment thread julia_src/mpc.jl
Comment thread julia_src/mpc.jl Outdated
Comment thread julia_src/mpc.jl
@adfarth

adfarth commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Generally curious if running hourly is in line with available versions of this capability in BESS dispatch software, or if less frequent should be considered too?

@adfarth adfarth changed the title Add MPC as an option for BESS dispatch Add BESS dispatch options and export Jul 16, 2026
@Bill-Becker
Bill-Becker changed the base branch from develop to master July 23, 2026 22:41
@Bill-Becker

Copy link
Copy Markdown
Collaborator

@lixiangk1 @adfarth the new feature branch PR process is to merge directly into master instead of develop (I updated this PR to do that). We're going to make the develop branch obsolete/irrelevant, as it kind of has been for a while now other than adding a step/branch for feature branches to converge into. We can now deploy feature branches to the staging server with snapshots of the production database merged into that to test database compatibility, in parallel to testing new features. This should enable rigorous testing on the feature branch until it's ready for production (master).

Relevant PRs with a description of deploy updates:

I will work on updating our Wiki/README/etc documentation with this new process.

@adfarth
adfarth requested a review from Bill-Becker August 3, 2026 16:19

@Bill-Becker Bill-Becker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I like the separate files for MPC and pre-sizing if sizes are not input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants